'''
Created on 2024年7月27日

@author: Administrator
'''
from random import randint

class Die:
    def __init__(self,num_sides=6):
        self.num_sides = num_sides

    def roll(self):
        return randint(1,self.num_sides)
    
    